package com.example.composedemo.api

import android.app.Application
import com.example.lib_network.base.IHttpRequestBaseInfo

/**
 * @author shuguo
 * @date :2024/5/3 17:50
 * @description:
 */
class HttpBaseInfo(private val app:Application, private val isDebug:Boolean=false, private val versionCode:String="1", private val versionName:String="1.0.0"): IHttpRequestBaseInfo{
    override fun getAppVersionName(): String {
        return versionName
    }

    override fun getAppVersionCode(): String {
        return versionCode
    }

    override fun isDebug(): Boolean {
        return isDebug
    }

    override fun getApplicationContext(): Application {
        return app
    }
}